package ast;

import visitor.*;

public class ExprConstanteReal extends AbstractExpresion
{
	public ExprConstanteReal(double valor){
		this.valor = valor;
	}
	public ExprConstanteReal(Object valor){
		this.valor = Double.parseDouble((String)valor);
	}


	public Object accept(Visitor v, Object param) { 
		return v.visit(this, param);
	}

	public double valor;
}
